package main

import (
	"io/ioutil"
	"os"
)

func readFile(path string) ([]byte, error) {
	fi, err := os.OpenFile(path, os.O_RDWR, os.ModePerm)
	if err != nil {
		panic(err)
	}
	defer fi.Close()
	return ioutil.ReadAll(fi)
	// fmt.Println(string(fd))
}
